/*
 * Created on 27/02/2004
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package org.potiorb.orb.giop;

import java.io.Serializable;

public class GIOPMessageHeader implements Serializable {
	private char[] MagicNumber = {'G', 'I', 'O', 'P',};
	private byte GiopVersionMajor = 0x01;
	private byte GiopVersionMinor = 0x00;
	private boolean ByteOrder = false;
	private MessageType m_MessageType;
	private int MessageSize = 0;


	/**
	 * @return Returns the m_MessageType.
	 */
	public MessageType getM_MessageType() {
		return m_MessageType;
	}

	/**
	 * @param messageType The m_MessageType to set.
	 */
	public void setM_MessageType(MessageType messageType) {
		m_MessageType = messageType;
	}

	/**
	 * @return Returns the messageSize.
	 */
	public int getMessageSize() {
		return MessageSize;
	}

	/**
	 * @param messageSize The messageSize to set.
	 */
	public void setMessageSize(int messageSize) {
		MessageSize = messageSize;
	}

	/**
	 * @return Returns the byteOrder.
	 */
	public boolean isByteOrder() {
		return ByteOrder;
	}

	/**
	 * @return Returns the giopVersionMajor.
	 */
	public byte getGiopVersionMajor() {
		return GiopVersionMajor;
	}

	/**
	 * @return Returns the giopVersionMinor.
	 */
	public byte getGiopVersionMinor() {
		return GiopVersionMinor;
	}

	/**
	 * @return Returns the magicNumber.
	 */
	public char[] getMagicNumber() {
		return MagicNumber;
	}

}
